﻿@model Gfw.Web.Areas.Admin.Models.AnnouncementQueryModel
@{
    ViewBag.Title = "公告管理";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutContent.cshtml"; 
}
@section scripts{
    @System.Web.Optimization.Scripts.Render("~/script/tree")
    
}
@using C.Mvc;
@using (Html.BeginForm())
{
    <div id="button">
        @Html.ActionLink("创建公告", "Create", "Announcement",new{area="Admin"},null)
        @*@Html.FormatLink("新建公告", "Create", "Admin/Announcement", null, "<a href='{link}'><span>{text}</span></a>", "current")*@
        @Html.EditorFor(m => m.Key)
        @Html.EditorFor(m => m.Start)
        @Html.EditorFor(m => m.End)


        <input type="submit" value="查询" />
    </div>
    <div style="align">
        @Html.ValidationSummary(true)
        @Html.ValidationMessageFor(model => model.Key)
        @Html.ValidationMessageFor(model => model.Start)
        @Html.ValidationMessageFor(model => model.End)
    </div>


}
<div id="@Gfw.Web.Common.ViewHelper.AjaxContainer">
    @{Html.RenderAction("List", "Announcement", null);}

</div>
